import Vue from 'vue'
import Router from 'vue-router'
import LoginForm from '@/view/login/login'
import HomePage from '@/view/home/home'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/login', // http://localhost:8080/#/login
      name: 'LoginForm',
      component: LoginForm
    },
    {
      path: '/', // http://localhost:8080/#/
      name: 'HomePage',
      component: HomePage
    }
  ]
})
